package com.ytf.test.ninth;

import java.util.Random;

/**
 * @author: YTF
 * @date: 2025/1/26 16:19
 * @version: 1.0
 * @description:
 */
public class RandomDoubles {
    private static Random random = new Random(47);
    public double next(){
        return random.nextDouble();
    }

    public static void main(String[] args) {
        RandomDoubles randomDoubles = new RandomDoubles();
        for (int i = 0; i < 7; i++) {
            System.out.println(randomDoubles.next()+" ");
        }
    }
}
